/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.Test;

import com.View.PanelTambahFotoAnggota;
import java.awt.BorderLayout;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;

/**
 *
 * @author admin
 */
public class TestPanelTambahFotoAnggota {
    public static void main(String args[]) {
        JFrame frame = new JFrame("Grafik");
        frame.setLayout(new BorderLayout());
        PanelTambahFotoAnggota panel = new PanelTambahFotoAnggota();
        frame.add(panel,BorderLayout.CENTER);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(600,250);
        frame.setVisible(true);
        
//        JFrame frame = new JFrame("Using Java2D");
//        frame.setLayout(new BorderLayout());
//        ImagePanel gc = new ImagePanel();
//        frame.add(gc, BorderLayout.CENTER);
//        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//        frame.setSize(600, 250);
//        frame.setVisible(true);
    }
}
